/****************************************************
 * 创建人: @author ouchangling    
 * 创建时间: 2020/5/18/15:46
 * 项目名称: dfbp-cashengine-manage
 * 文件名称: ParamDbConnection.java
 * 文件描述: @Description: 数据库连接配置表
 *
 * All rights Reserved, Designed By 投资交易团队
 * @Copyright:2016-2020
 *
 ********************************************************/
package com.heroh.kettle.entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 包名称：com.win.dfas.schedule.entity
 * 类名称：ParamDbConnection
 * 类描述：数据库连接配置表
 * 创建人：@author ouchangling
 * 创建时间：2020/5/18/15:46
 */
public class ParamDbConnection {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据库l连接编码")
    private String dbConnectionCode;

    @ApiModelProperty("数据库连接名称")
    private String dbConnectionName;

    @ApiModelProperty("数据库连接配置")
    private DbConfig dbConfig;

    public ParamDbConnection(String dbConnectionCode, String dbConnectionName, DbConfig config) {
        this.dbConnectionCode = dbConnectionCode;
        this.dbConnectionName = dbConnectionName;
        this.dbConfig = config;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDbConnectionCode() {
        return dbConnectionCode;
    }

    public String getDbConnectionName() {
        return dbConnectionName;
    }

    public DbConfig getDbConfig() {
        return dbConfig;
    }
}